package com.ruoyi.base.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 试验依据业务对象 base_sy_yj
 *
 * @author zyb
 * @date 2024-04-12
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SyYjBo extends TreeEntity<SyYjBo> {

    /**
     * 试验依据id
     */
//    @NotNull(message = "试验依据id不能为空", groups = { EditGroup.class })
    private Long syYjId;

    /**
     * 试验依据名称
     */
//    @NotBlank(message = "试验依据名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String syYjName;

    /**
     * 排序
     */
//    @NotNull(message = "排序不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer sort;

    /**
     * 对应详细表类型,null代表没有对应详细表
     */
    private String yjDetailType;
    /**
     * 备注
     */
    private String remark;

//    @NotNull(message = "上级id", groups = { AddGroup.class, EditGroup.class })
    private Long parentId;


}
